From 3c4f36f62238b45863b49c85c2a8462f556da31f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 30 Jan 2016 22:50:54 -0500 Subject: [PATCH] combobox: Avoid a misleading indentation gcc 6 warns about this sort of thing. There were also some stray ; here. --- gtk/gtkcombobox.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index f5661d34c6..628f708d47 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -4758,12 +4758,10 @@ gtk_combo_box_update_title (GtkComboBox *combo_box) gtk_combo_box_check_appearance (combo_box); - if (priv->popup_widget && - GTK_IS_MENU (priv->popup_widget)) -G_GNUC_BEGIN_IGNORE_DEPRECATIONS; - gtk_menu_set_title (GTK_MENU (priv->popup_widget), - priv->tearoff_title); -G_GNUC_END_IGNORE_DEPRECATIONS; +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + if (priv->popup_widget && GTK_IS_MENU (priv->popup_widget)) + gtk_menu_set_title (GTK_MENU (priv->popup_widget), priv->tearoff_title); +G_GNUC_END_IGNORE_DEPRECATIONS } /** -- 2.30.2